package net.bxx2004.cp;

import net.bxx2004.cp.commands.MainCommand;
import net.bxx2004.pandalibloader.BukkitPlugin;
import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;

import java.util.HashMap;

public class CloudPlugin extends BukkitPlugin {
    public static HashMap<String,Boolean> plugins = new HashMap<String, Boolean>();
    @Override
    public void onEnable(){
        for (Plugin plugin : Bukkit.getPluginManager().getPlugins()){
            plugins.put(plugin.getName(),true);
        }
        getCommand("cp").setExecutor(new MainCommand());
        getCommand("CloudPlugin").setExecutor(new MainCommand());
        saveDefaultConfig();
    }

    @Override
    public void onDisable() {

    }
}
